package com.chuyu.jzwboa.model.imodel.launcher;

import android.content.Context;

/**
 * @author  杨仕俊
 * @description  启动页面model
 * Created by wo on 2017/12/14.
 */

public interface ILauncherModel {
    /**
     * 检测权限
     * @param context
     * @param iPermissionLisenter
     * @param permissions
     */
    void detectionPermissions(Context context, IPermissionLisenter iPermissionLisenter, String... permissions);

    /**
     * 权限获取监听
     */
    interface IPermissionLisenter{
        /**
         * 拥有权限
         */
        void hasPersmission();

        /**
         * 没有权限
         */
        void notPermission();
    }
}
